home *** CD-ROM | disk | FTP | other *** search
- Reads a line of text from a file opened with OPEN.
-
- READ fileID [var]
-
- fileID is the number returned by OPEN.
- The file can be closed with the command CLOSE and is automatically
- closed when the EOF is read.
- var is the name of the global variable where the line is to be stored.
- If it is missing, the line is displayed on the screen.
- READ strips the newline character (CR) at the end of each line
- containing more than one character, and replaces it with a space
- if the line only contains the CR. This guarantees that a non-empty
- line is always returned.
-